package com.wang.learn.common.model;

/**
 * <p>是否可用枚举</p>
 *
 * @author wcz
 * @version V1.0.0
 * @date 2022/11/22 19:45
 */
public enum EnableEnum implements ICodeEnum {
    ENABLE(1, "可用"),
    DISABLE(0, "禁用");

    EnableEnum(int value, String label) {
        this.value = value;
        this.label = label;
    }

    private int value;
    private String label;

    @Override
    public int value() {
        return this.value;
    }

    @Override
    public String label() {
        return this.label;
    }
}
